﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace NetCoreDemo.Services.Interface
{
    public interface IBaseServices<T,T2>
    {
        string Save(T model);
        string Update(T model);
        /// <summary>
        /// 基本查询
        /// </summary>
        /// <returns></returns>
        string Select();
        string Delete(T model);
        T SelectById(T model);
       

    }
    public interface IBaseServices<T>
    {
        string Save(T model);
        string Update(T model);
        /// <summary>
        /// 基本查询
        /// </summary>
        /// <returns></returns>
        string Select();
        string Delete(T model);
        T SelectById(T model);

    }
}
